package com.jzlin.funhub.admin.model.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;

/**
 * 站内私信会话列表.
 *
 * @author linjz
 * @since 2025/8/26
 */
@Data
@AllArgsConstructor
public class SysMessageResp {
    @ApiModelProperty("消息内容")
    private String messageContent;

    @ApiModelProperty("消息时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date messageTime;

    @ApiModelProperty("是否本人")
    private boolean isSelf;
}
